.inline-block {
  display: inline-block;
  vertical-align: middle;
}
#custom-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
#custom-box #add-link {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  height: 270px;
  margin-top: -135px;
  margin-left: -320px;
  color: rgba(0, 0, 0, 0.54);
  background-color: #fff;
}
#custom-box #add-link h3 {
  position: relative;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  text-align: left;
  box-sizing: border-box;
  border-bottom: 1px solid #c9c9c9;
}
.mac-app #custom-box #add-link h3 {
  border-bottom: 1px solid #eee;
}
#custom-box #add-link h3 .close {
  position: absolute;
  display: block;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: url(../static/images/icon-add-link.png) no-repeat 0 0;
  background-size: 100%;
  cursor: pointer;
}
#custom-box #add-link .all {
  padding: 20px;
}
#custom-box #add-link .all > ul {
  height: 120px;
  padding-bottom: 20px;
}
#custom-box #add-link .all > ul a {
  display: block;
  width: 120px;
  height: 30px;
  line-height: 30px;
  margin: 15px 0;
  float: left;
  text-align: center;
  position: relative;
}
#custom-box #add-link .all > ul a .delete {
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  background: url(../static/images/icon-add-link.png) no-repeat 0 -14px;
  background-size: 100%;
  margin-left: 5px;
  cursor: pointer;
}
#custom-box #add-link .add {
  overflow: hidden;
}
#custom-box #add-link .add p {
  float: left;
  width: 225px;
  margin-right: 20px;
}
#custom-box #add-link .add a {
  display: block;
  width: 100px;
  line-height: 30px;
  overflow: hidden;
  text-align: center;
  color: rgba(0, 0, 0, 0.54);
}
#custom-box #add-link .add a:hover {
  color: #21c494;
}
#custom-box #add-link .add input {
  color: #888;
  border: 1px solid #eee;
  line-height: 26px;
}
.mac-app #custom-box #add-link .add input {
  border: 1px solid #eee;
}
